//
//  GoodsOptionBtnModel.m
//  LoveHappyShopping
//
//  Created by 白水非泉 on 16/6/24.
//  Copyright © 2016年 白水非泉. All rights reserved.
//

#import "GoodsOptionBtnModel.h"

@implementation GoodsOptionBtnModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        self.img=dict[@"img"];
        self.sortNum=[dict[@"sortNum"] intValue];
        self.text=dict[@"text"];
    }
    return self;
}
+(instancetype)optionModelWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}
@end
